package ch0600;

public class Test {

	public static void main(String[] args) {
		// TODO 自动生成的方法存根
      Shape cirleShape=new Cirle(5);
      
      cirleShape.computeArea();
      
      Shape squareShape=new Square(5,7);
      squareShape.computeArea();
      
      Employee employee=new Sales();
      //employee.setSalary(5000);
      employee.showSalary(5000);
      Employee employee1=new Manager();
      //employee.setSalary(5000);
      employee1.showSalary(5300);
	}

}
